import { http } from "../utils/request"

export const getzwAPI=(data)=>{
	return http({
		method:'GET',
		url:'/prod-api/api/job/profession/list',
		data
	})
}
export const getZPAPI =(data)=>{
	return http({
		method:'GET',
		url:"/prod-api/api/job/post/list",
		data
	})
}
export const getDetailAPI =(id)=>{
	return http({
		method:'GET',
		url:"/prod-api/api/job/post/"+id
	})
}
export const getCompanyDetailAPI= (id)=>{
	return http({
		method:'GET',
		url:'/prod-api/api/job/company/'+id
	})
}
export const getListAPI =()=>{
	return http({
		method:'GET',
		url:"/prod-api/api/job/deliver/list",
		data:{
			pageNum:1,
			pageSize:10
		}
	})
}
export const getJLAPI=(id)=>{
	return http({
		method:'GET',
		url:'/prod-api/api/job/resume/queryResumeByUserId/'+id
	})
}
export const editJLAPI=(data)=>{
	return http({
		method:'PUT',
		url:"/prod-api/api/job/resume",
		data
	})
}